package cz.proks.easyhelpdesk.gwt.event;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;

public class RightArrowClickEvent extends GwtEvent<RightArrowClickEvent.Handler>{
    
    public static final Type<RightArrowClickEvent.Handler> TYPE = new Type<RightArrowClickEvent.Handler>();
    
    public static interface Handler extends EventHandler {
        void onRightArrowClick(RightArrowClickEvent event);        
    }
    
    public RightArrowClickEvent() {
        // TODO Auto-generated constructor stub
    }
    
    public static void fireEvent(HasRightArrowClickHandlers source) {
        source.fireEvent(new RightArrowClickEvent());
    }
            
    @Override
    public com.google.gwt.event.shared.GwtEvent.Type<Handler> getAssociatedType() {
        return TYPE;
    }

    @Override
    protected void dispatch(Handler handler) {
        handler.onRightArrowClick(this);
    } 
}
